home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Networking / OTStreamLogViewer1.0b2 / StreamLogResources.h < prev   
Encoding:
C/C++ Source or Header  |  1998-07-06  |  2.3 KB  |  100 lines  |  [TEXT/CWIE]

  1. /*
  2.     File:        StreamLogResources.h
  3.  
  4.     Contains:    Header file containing application resource definitions.
  5.  
  6.     Written by:    Quinn "The Eskimo!"
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.     You may incorporate this sample code into your applications without
  13.     restriction, though the sample code has been provided "AS IS" and the
  14.     responsibility for its operation is 100% yours.  However, what you are
  15.     not permitted to do is to redistribute the source as "DSC Sample Code"
  16.     after having made changes. If you're going to re-distribute the source,
  17.     we require that you make it clear in the source that the code was
  18.     descended from Apple Sample Code, but that you've made changes.
  19. */
  20.  
  21. /////////////////////////////////////////////////////////////////////
  22.  
  23. enum {
  24.  
  25.     // MBAR
  26.     
  27.     rMenuBar = 128,
  28.         mApple = 128,
  29.             iAbout = 1,
  30.         mFile = 129,
  31.             iClose = 1,
  32.             iShowHideLogWindow = 2,
  33.             iStartStopLogging = 3,
  34.             iScrollWhileLogging = 4,
  35.             iQuit = 5,
  36.         mEdit = 130,
  37.             iUndo = 1,
  38.             // - = 2,
  39.             iCut = 3,
  40.             iCopy = 4,
  41.             iPaste = 5,
  42.             iClear = 6,
  43.             iSelectAll = 7,
  44.         
  45.         mTraceLevel = 150,
  46.             iAll = 1,
  47.             iLevelOffset = 3,
  48.     
  49.     // DLOG
  50.     
  51.     rMainDialog = 128,
  52.         ditStart = 1,                // push button
  53.         ditStop = 2,                // push button
  54.         ditLogErrors = 3,            // checkbox
  55.         ditLogTraces = 4,            // checkbox
  56.         ditAllTraces = 5,            // radio
  57.         ditTracesMatching = 6,        // radio
  58.         ditSetupFilter = 7,            // push button
  59.         ditLogToFile = 8,            // checkbox
  60.         ditLoggedCount = 9,            // static text
  61.         ditDroppedCount = 10,        // static text
  62.         ditTraceLevel = 11,            // popup
  63.         ditLogEntryList = 12,        // user item
  64.     rFilterDialog = 129,
  65.         // ditOK = 1,                    // push botton
  66.         // ditCancel = 2,                // push botton
  67.         ditDefault = 3,                // default user item
  68.         ditAllModules = 4,            // radio
  69.         ditChosenModules = 5,        // radio
  70.         ditModuleID = 6,            // static text
  71.         ditAllStreams = 7,            // radio
  72.         ditChosenStreams = 8,        // radio
  73.         ditStreamID = 9,            // static text
  74.         
  75.     // ALRT
  76.     
  77.     rConfirmStopAlert = 256,
  78.     rAboutBox = 257,
  79.     rErrorAlert = 258,
  80.     
  81.     // STR#
  82.     
  83.     rMiscStrings = 128,
  84.         strShowLogWindow = 1,
  85.         strHideLogWindow = 2,
  86.         strStartLogging = 3,
  87.         strStopLogging = 4,
  88.         strLogFileName = 5,
  89.     
  90.     // LDEF
  91.     
  92.     rSimpleLDEF = 128,
  93.     
  94.     // Ners
  95.     
  96.     rErrorTable = 128,
  97.     
  98.     dummy = 666                        // just so I don't have to worry about the trailing commas
  99. };
  100.